Ideally, we should keep scanning while the dialog is open, and
stop (or reduce the frequency) when it's closed. Forcing a new
scan when the dialog is opened empty is a close approximation
and increases the probability that the user will find the AP
he needs.
https://bugzilla.gnome.org/show_bug.cgi?id=709128
this._selectedNetwork = null;
this._activeApChanged();
this._updateSensitivity();
+
+ if (accessPoints.length == 0) {
+ /* If there are no visible access points, request a scan */
+ this._device.request_scan_simple(null);
+ }
},
destroy: function() {